🎭 Today's Fun Fact
(10 actions, 12 KB)
0 URL
https://www.onthisday.com
»
1 Get Contents of URL
[0 URL]
»
3
2 Format Date
[CurrentDate]
»
DateFormatStyle
:
Custom
DateFormat
:
MMMM d
3 Match Text
Fun Fact About Today\n(.*)\n(
[2 Formatted Date]
, \d{4})
in
[1 Contents of URL
as Text
]
»
4
5
4 Get Match
Group At Index
1
in
[3 Matches]
»
6
7
5 Get Match
Group At Index
2
in
[3 Matches]
➔ date
»
7
6 Run Shortcut
Build Google Search URL
»
Input
:
[4 Text]
Workflow
:
{ "workflowIdentifier": "FD05EE44-4826-451C-A235-7F0A9F1BAFBC", "workflowName": "Build Google Search URL", "isSelf": false }
7 Dictionary »
{ "title": "🎭 Today's Fun Fact", "subtitle": "
[5 date]
", "body": "
[4 Text]
", "openURL": "
[6 Shortcut Result]
" }
8 Scriptable > ParameterizedRunScriptIntent
fileName
:
Create Notification
parameter
:
[7 Dictionary]
ShowWhenRun
:
false
9 Lock Screen